package com.evan.webadmin.biz.service;

import com.evan.webadmin.biz.dto.MaterialDto;
import com.evan.webadmin.biz.dto.MaterialFilter;
import com.evan.webadmin.biz.model.Material;
import com.baomidou.mybatisplus.extension.service.IService;
import com.evan.webadmin.biz.vo.MaterialFrontVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Pavel
 * @since 2024-06-09
 */
public interface IMaterialService extends IService<Material> {

    List<Material> findByCondition(MaterialFilter materialFilter);

    void edit(MaterialDto materialDto);

    Material findById(Long valueOf);

    List<MaterialFrontVo> findByFront(MaterialFilter materialFilter);

    void logicDelete(Long materialId);
}
